<!-- Displayed Tabs -->
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
	<p:tabView id="main-tabSet" activeIndex="0"
		cache="true" 
		onTabShow="SinoPortal.View.onTabShow(index);"
		onDynamicTabComplete="SinoPortal.View.onTabShow(index);"
		onTabChange="SinoPortal.View.onTabShow(index);"
		onTabClose="SinoPortal.View.onTabClose(index);"
		tabModifyCloseTip="#{messages['portal.tabSet.tabModifyCloseTip']}"
		widgetVar="main_tabSet_var" styleClass="portal-mainView-tab">
		<p:tab title="桌面" id="tab0" 
   			closable="false" 
   			contentStyleClass="portal-mainView-tab-content">
			<ui:include src="portal-mainView-home.xhtml" />
			<div style="clear:both" />
   		</p:tab>
	</p:tabView>
	
	<script type="text/javascript">
		$(document).ready(function(){
			SinoPortal.View.initMainView();
		});
	</script>
</f:view>